#if !defined(AFX_RFID_H__2BEF1274_0213_4489_93EE_193B22593F38__INCLUDED_)
#define AFX_RFID_H__2BEF1274_0213_4489_93EE_193B22593F38__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Rfid.h : header file
//
 
/////////////////////////////////////////////////////////////////////////////
// CRfid dialog

class CRfid : public CDialog
{
// Construction
public:
	CRfid(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CRfid)
	enum { IDD = IDD_RFID };
		// NOTE: the ClassWizard will add data members here
	CComboBox	m_sel_rfid_block;
	CComboBox	m_sel_rfid_setor;
	CEdit	m_read_info;
	CEdit	m_write_info;
	//CEdit	m_read_sc_info;
	int 	m_rf_card_online_stat;
	CString m_rfid_password;
	//CString m_sc_apdu_data;
	int 	m_card_type;
	CString m_card_id;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRfid)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CRfid)
	afx_msg void OnChkCom();
	afx_msg void OnFindCard();
	afx_msg void OnChkPassword();
	afx_msg void OnReadRfidDat();
	afx_msg void OnWriteRfidDat();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	
public:
	void HandleRecvPacket(UCHAR* upMsgbuffer,UINT MsgLength);
	void ShowContentToParentEdit(UCHAR *SentBuf,UINT len);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RFID_H__2BEF1274_0213_4489_93EE_193B22593F38__INCLUDED_)
